package com.longsoft.weather.service;

import com.longsoft.weather.vo.WeatherResponse;

public interface WeatherDataService {

    /**
     ＊根据城市 ID来查询天气数据
     *
     * param cityId
     * @return
     */
    WeatherResponse getDataByCityId(String cityId) ;
    /**
     ＊根据城市名称来查询天气数据
     *
     * @param cityName
     * @return
     */
    WeatherResponse getDataByCityName (String cityName);

    /**
     * 根据城市ID同步天气数据
     * @param cityId
     */
    void syncDataByCityId(String cityId);
}
